﻿Public Class rssList
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btnTeacher_Click(sender As Object, e As EventArgs) Handles btnTeacher.Click
        Try


            If (drpUsers.SelectedValue <> -1) Then
                Response.Redirect("~/rssView.aspx?type=latestQuizzesTeacher&teacherId=" + drpUsers.SelectedValue.ToString())
            Else
                lblMessage.Text = "Select Teacher First"
            End If
        Catch ex As Exception

        End Try

    End Sub

    Protected Sub btnCommentsAdded_Click(sender As Object, e As EventArgs) Handles btnCommentsAdded.Click
        Try

        
            Response.Redirect("~/rssView.aspx?type=latestComments")
        Catch ex As Exception

        End Try
    End Sub

    Protected Sub btnQuizzesAdded_Click(sender As Object, e As EventArgs) Handles btnQuizzesAdded.Click
        Response.Redirect("~/rssView.aspx?type=latestQuizzes")
    End Sub
End Class